package com.xhsj.user.sms.purchase.query;

import com.xhsj.user.sms.purchase.entity.TbPurchaseSubtaskReturnRecord;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:退换
 * @Data:2020/5/25
 */
@Data
public class ReturnAndExchangeQuerySms extends PurchaseOrderQuerySms {

    private List<TbPurchaseSubtaskReturnRecord> tbPurchaseOrderReturnRecordList;

//    private String applyCreateBy; //采购申请人

    @NotBlank(message = "采购订单purchaseOrderId不能为空")
    private String purchaseOrderId;

    private int totalBackNumber; //退货的总数量

    private int sampleDeliveryTimes; //送样次数

    private int totalNumber; //总数量

    private int currentReturnNumber; //当前退换量

    @NotNull(message = "支付方式paymentWay不能为空")
    private Integer paymentWay;//支付方式

}
